/*
* created by Administrator on 2018/12/3
* 好的代码像粥一样,是得用时间和精力熬的。
*/
let path = require('path');
module.exports ={   //模块暴露
    entry:'./index.js',
    output:{
        path:path.resolve('./dist'),
        filename:'app.bundle.js'
    },
    module:{
        rules:[
            {test:/\.js$/,loader:'babel-loader'}
        ]
    }
};
